@use './common.scss' as *;
@use './icon.css' as *;

page {

  --base-default: #473BF0;

  --base-green: #35C857;

  --base-red: #FF3838;

  --base-blue: #0066ff;

  --base-yellow: #ffd200;

  --base-grey: #999999;

  --base-purple: #804cde;

  --base-pink: #f248dc;

  --base-orange: #F68E38;

  --base-teal: #2fcb99;

  --base-cyan: #27d9e5;

  --base-gray: #343a40;

  --base-black: #000000;

  --base-size-small-xx: 20rpx;

  --base-size-small-x: 22rpx;

  --base-size-small: 24rpx;

  --base-size-default: 26rpx;

  --base-size-large: 28rpx;

  --base-size-large-x: 32rpx;

  --base-size-large-xx: 36rpx;

  --base-radius-default: 10rpx;

  --base-radius-small: 8rpx;

  --base-radius-small-x: 6rpx;

  --base-radius-large: 15rpx;

  --base-radius-large-x: 20rpx;

  --base-page: #f5f5f5;

  font-size: var(--base-size-default);
}

.flex {
  display: flex
}

.flex.between {
  justify-content: space-between
}

.flex.around {
  justify-content: space-around
}

.flex.start {
  justify-content: flex-start
}

.flex.end {
  justify-content: flex-end
}

.flex.center {
  justify-content: center
}

.items-center {
  align-items: center
}

.text-center {
  text-align: center;
}
.text-right{
  text-align: right;
}
.text-left{
  text-align: left;
}

/* 文本 */

.text-default {
  color: var(--base-default) !important;
}

.text-blue {
  color: var(--base-blue) !important;
}

.text-green {
  color: var(--base-green) !important;
}

.text-grey {
  color: var(--base-grey) !important;
}

.text-yellow {
  color: var(--base-yellow) !important;
}

.text-red {
  color: var(--base-red) !important;
}

.text-indigo {
  color: var(--base-indigo) !important;
}

.text-purple {
  color: var(--base-purple) !important;
}

.text-pink {
  color: var(--base-pink) !important;
}

.text-orange {
  color: var(--base-orange) !important;
}

.text-teal {
  color: var(--base-teal) !important;
}

.text-cyan {
  color: var(--base-cyan) !important;
}

.text-black {
  color: var(--base-black) !important;
}

.fz-small-xx {
  font-size: var(--base-size-small-xx);
}

.fz-small-x {
  font-size: var(--base-size-small-x);
}

.fz-small {
  font-size: var(--base-size-small);
}

.fz-default {
  font-size: var(--base-size-default);
}

.fz-large {
  font-size: var(--base-size-large);
}

.fz-large-x {
  font-size: var(--base-size-large-x);
}

.fz-large-xx {
  font-size: var(--base-size-large-xx);
}

.fw {
  font-weight: bold;
}


.te {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-box-orient: vertical;
}

.te2 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tline {
  text-decoration: line-through;
}


.style-shade {
  box-shadow: 0 8rpx 20rpx rgba(47, 54, 70, .2);
}

.style-shade-inset {
  box-shadow: 0 8rpx 20rpx rgba(47, 54, 70, .2) inset;
}

.goods-buy-limit,
.goods-buy-least {
  display: flex;
  justify-content: flex-start;
  background: #ffebeb;
  margin-right: 10rpx;
  color: #ff3838;
  font-size: var(--base-size-small-xx);
  padding: 0 8rpx;
  height: 28rpx;
  line-height: 28rpx;
  border-radius: var(--base-radius-small);
}

.goods-cart-btn {
  height: 40rpx;
  width: 40rpx;
  border-radius: 40rpx;
  line-height: 40rpx;
  text-align: center;
  color: #ffffff;
  font-size: var(--base-size-small);
}

.goods-cart-btn-icon {
  font-size: var(--base-size-small-x);
}

.goods-cart-count {
  position: absolute;
  top: -10rpx;
  right: -10rpx;
  background: red;
  padding: 0 6rpx;
  min-width: 14rpx;
  height: 24rpx;
  line-height: 22rpx;
  border-radius: 24rpx;
  font-size: var(--base-size-small-xx);
  color: #fff;
  border: 1rpx solid #fff;
  text-align: center;
}


.address-label {
  margin-left: 20rpx;
  height: 30rpx;
  line-height: 30rpx;
  padding: 0 10rpx;
  border-radius: 5rpx;
  font-size: 24rpx;
  color: #000000;
  background: #f0f0f0;
}
.address-default {
  margin-left: 20rpx;
  height: 30rpx;
  line-height: 30rpx;
  padding: 0 10rpx;
  background: var(--default);
  color: #fff;
  border-radius: 5rpx;
  font-size: 24rpx;
}


.taber-fixed-layout-1 {
  bottom: 106rpx;
}

.taber-fixed-layout-2 {
  bottom: 82rpx;
}

.taber-fixed-layout-3 {
  bottom: 78rpx;
}







/*checkbox 整体大小  */
.checkbox .wx-checkbox-input {
  border-radius: 32rpx;
  /* 圆角 */
  width: 32rpx;
  /* 背景的宽 */
  height: 32rpx;
  /* 背景的高 */
  border: 2px solid rgba(255, 129, 92, 1);
}

.checkbox .wx-checkbox-input-disabled {
  border-radius: 32rpx;
  /* 圆角 */
  width: 32rpx;
  /* 背景的宽 */
  height: 32rpx;
  /* 背景的高 */
  background: #f3f3f3;
  border: 1px solid rgba(201, 201, 201, 1);
}

.checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  background: rgba(255, 129, 92, 1);
}

.checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  width: 32rpx;
  height: 32rpx;
  line-height: 32rpx;
  text-align: center;
  font-size: 24rpx;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  -webkit-transform: translate(-50%, -50%) scale(1);
}

.checkbox .wx-checkbox-input {
  border-radius: 32rpx;
  /* 圆角 */
  width: 32rpx;
  /* 背景的宽 */
  height: 32rpx;
  /* 背景的高 */
  border: 1px solid #bfbfbf;
}

.checkbox .wx-checkbox-input-disabled {
  border-radius: 32rpx;
  /* 圆角 */
  width: 32rpx;
  /* 背景的宽 */
  height: 32rpx;
  /* 背景的高 */
  background: #f3f3f3;
  border: 1px solid #bfbfbf;
}

.checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  background: red;
  border: 1px solid red;
}

.checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  width: 32rpx;
  height: 32rpx;
  line-height: 32rpx;
  text-align: center;
  font-size: var(--base-size-default);
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  -webkit-transform: translate(-50%, -50%) scale(1);
}



.fade-show {
  animation: fade_show 0.5s;
}

.fade-hide {
  animation: fade_hide 0.5s;
}
.spin {
  animation: spin 0.7s linear normal infinite;
}
@keyframes fade_show {
  0% {
    opacity: 0;
  }

  100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}


@keyframes fade_hide {
  0% {
    opacity: 1;
  }

  100% {
    -webkit-transform: none;
    transform: none;
    opacity: 0;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}